package com.youkeyi.ddy.cloud.application.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@EnableFeignClients(basePackages = {
        "com.youkeyi.ddy.cloud.common.api.basic.pub.**",
        "com.youkeyi.ddy.cloud.common.api.basic.crm.config.**",
        "com.youkeyi.ddy.cloud.common.api.basic.hr.employee.employee.**",
})
@ComponentScan({
        "com.youkeyi.**",
})
@MapperScan({
        "com.youkeyi.**.mapper"
})
@SpringBootApplication
public class YoukeyiDdyCloudApplicationSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(YoukeyiDdyCloudApplicationSystemApplication.class, args);
    }

}
